This package contains connectors and interfaces (partial models) for electrical multiphase components, based on Modelica.Electrical.Analog.
| Name | Description |
|---|---|
| Plug | Plug with m pins for an electric component |
| PositivePlug | Positive plug with m pins |
| NegativePlug | Negative plug with m pins |
| TwoPlug | Component with one m-phase electric port |
| OnePort | Component with two electrical plugs and currents from plug_p to plug_n |
| FourPlug | Component with two m-phase electric ports |
| TwoPort | Component with two m-phase electric ports, including currents |
| AbsoluteSensor | Base partial model for measuring potentials |
| RelativeSensor | Base partial model for measuring relative variables between two plugs |
Modelica.Electrical.MultiPhase.Interfaces.PositivePlug
Connectors PositivePlug and NegativePlug are nearly identical.
The only difference is that the icons are different in order
to identify more easily the plugs of a component.
Usually, connector PositivePlug is used for the positive and
connector NegativePlug for the negative plug of an electrical component.
Connector Plug is a composite connector containing m Pins (Modelica.Electrical.Analog.Interfaces.Pin).
| Name | Default | Description |
|---|---|---|
| m | 3 | number of phases |
connector PositivePlug "Positive plug with m pins" extends Plug; end PositivePlug;
Modelica.Electrical.MultiPhase.Interfaces.NegativePlug
Connectors PositivePlug and NegativePlug are nearly identical.
The only difference is that the icons are different in order
to identify more easily the plugs of a component.
Usually, connector PositivePlug is used for the positive and
connector NegativePlug for the negative plug of an electrical component.
Connector Plug is a composite connector containing m Pins (Modelica.Electrical.Analog.Interfaces.Pin).
| Name | Default | Description |
|---|---|---|
| m | 3 | number of phases |
connector NegativePlug "Negative plug with m pins" extends Plug; end NegativePlug;
Modelica.Electrical.MultiPhase.Interfaces.TwoPlug
Superclass of elements which have two electrical plugs: the positive plug connector plug_p, and the negative plug connector plug_n. The currents flowing into plug_p are provided explicitly as currents i[m].
| Name | Default | Description |
|---|---|---|
| m | 3 | number of phases |
partial model TwoPlug "Component with one m-phase electric port"
parameter Integer m(min=1) = 3 "number of phases";
Modelica.SIunits.Voltage v[
m] "Voltage drops between the two plugs";
Modelica.SIunits.Current i[
m] "Currents flowing into positive plugs";
PositivePlug plug_p(
final m=m);
NegativePlug plug_n(
final m=m);
equation
v = plug_p.pin.v - plug_n.pin.v;
i = plug_p.pin.i;
end TwoPlug;
Modelica.Electrical.MultiPhase.Interfaces.FourPlug
Superclass of elements which have four electrical plugs.
| Name | Default | Description |
|---|---|---|
| m | 3 | number of phases |
partial model FourPlug "Component with two m-phase electric ports"
parameter Integer m(final min=1) = 3 "number of phases";
Modelica.SIunits.Voltage v1[
m] "Voltage drops over the left port";
Modelica.SIunits.Voltage v2[
m] "Voltage drops over the right port";
Modelica.SIunits.Current i1[
m]
"Current flowing into positive plug of the left port";
Modelica.SIunits.Current i2[
m]
"Current flowing into positive plug of the right port";
PositivePlug plug_p1(
final m=m);
PositivePlug plug_p2(
final m=m);
NegativePlug plug_n1(
final m=m);
NegativePlug plug_n2(
final m=m);
equation
v1 = plug_p1.pin.v - plug_n1.pin.v;
v2 = plug_p2.pin.v - plug_n2.pin.v;
i1 = plug_p1.pin.i;
i2 = plug_p2.pin.i;
end FourPlug;
Connectors PositivePlug and NegativePlug are nearly identical.
The only difference is that the icons are different in order
to identify more easily the plugs of a component.
Usually, connector PositivePlug is used for the positive and
connector NegativePlug for the negative plug of an electrical component.
Connector Plug is a composite connector containing m Pins (Modelica.Electrical.Analog.Interfaces.Pin).
| Name | Default | Description |
|---|---|---|
| m | 3 | number of phases |
connector Plug "Plug with m pins for an electric component"
parameter Integer m(final min=1) = 3 "number of phases";
Modelica.Electrical.Analog.Interfaces.Pin pin[
m];
end Plug;
Modelica.Electrical.MultiPhase.Interfaces.OnePort
Superclass of elements which have two electrical plugs: the positive plug connector plug_p, and the negative plug connector plug_n. The currents flowing into plug_p are provided explicitly as currents i[m]. It is assumed that the currents flowing into plug_p are identical to the currents flowing out of plug_n.
| Name | Default | Description |
|---|---|---|
| m | 3 | number of phases |
partial model OnePort "Component with two electrical plugs and currents from plug_p to plug_n" extends TwoPlug; equation plug_p.pin.i + plug_n.pin.i = zeros(m); end OnePort;
Modelica.Electrical.MultiPhase.Interfaces.TwoPort
Superclass of elements which have four electrical plugs. It is assumed that the currents flowing into plug_p1 are identical to the currents flowing out of plug_n1, and that the currents flowing into plug_p2 are identical to the currents flowing out of plug_n2.
| Name | Default | Description |
|---|---|---|
| m | 3 | number of phases |
partial model TwoPort "Component with two m-phase electric ports, including currents" extends FourPlug; equation plug_p1.pin.i + plug_n1.pin.i = zeros(m); plug_p2.pin.i + plug_n2.pin.i = zeros(m); end TwoPort;
Modelica.Electrical.MultiPhase.Interfaces.AbsoluteSensor
Superclass for models measuring potentials.
| Name | Default | Description |
|---|---|---|
| m | 3 | number of phases |
partial model AbsoluteSensor
"Base partial model for measuring potentials"
extends Modelica.Icons.RotationalSensor;
parameter Integer m(final min=1) = 3 "number of phases";
PositivePlug plug_p(
m);
Modelica.Blocks.Interfaces.OutPort outPort(
final n=m);
end AbsoluteSensor;
Modelica.Electrical.MultiPhase.Interfaces.RelativeSensor
Superclass for models measuring relative variables between plugs.
| Name | Default | Description |
|---|---|---|
| m | 3 | number of phases |
partial model RelativeSensor
"Base partial model for measuring relative variables between two plugs"
extends Modelica.Icons.RotationalSensor;
parameter Integer m(final min=1) = 3 "number of phases";
Modelica.Blocks.Interfaces.OutPort outPort(
final n=m);
PositivePlug plug_p(
final m=m);
NegativePlug plug_n(
final m=m);
end RelativeSensor;